package com.data.bean;

import com.data.impl.Massage;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "companymassage")
public class CompanyMassage implements Massage {
    @Id
    private String id;//id
    //private String uid;//账号id
    private String name;//联系人的名字
    private String work;//职位
    private String phone;//联系电话
    private String addr;//公司地址
    private String email;//邮箱
    private String url;//公司官网
    private boolean estate;//邮箱状态
    private String code;//激活码
    private Date ctime;//时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /* public String getUid() {
         return uid;
     }

     public void setUid(String uid) {
         this.uid = uid;
     }
 */
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isEstate() {
        return estate;
    }

    public void setEstate(boolean estate) {
        this.estate = estate;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }
}
